package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.medical.enums.ThankMoneyThankTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 答谢金额表对象 thank_money
 *
 * @author ym
 * @date 2020-09-02
 */
@ApiModel(value = "答谢金额表-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ThankMoneyQueryParam {

    @ApiModelProperty("答谢项名称")
    private String thankName;

    @ApiModelProperty("答谢项金额")
    private Double thankMoney;

    @ApiModelProperty("答谢项类型 (01-标准金额 02-自定义金额)")
    @CustomConstraint(ThankMoneyThankTypeEnum.class)
    private String thankType;

    @ApiModelProperty("ids")
    private Long[] ids;
}
